  <link rel="stylesheet" href="${s.base}/res/mobile/style/imageView.css"/> 
 
  <script src="${s.base}/res/mobile/js/imageView.js"></script>            
<!-- 显示 图片列表 和视频播放 -->

  
  <div class="hd">
	   <div class="hd_content">	
       
          <span     class="curr_equip" > </span>
        
       </div>
 </div>
  <div class="container scroll  bigView"  onscroll="lazyLoadPic(this)" id="small_area">
   <div id="slideView"></div>
	 <video id="SVideoView"  height="100%"  width="100%"  controls autoplay loop>
							 <source type=video/mp4 />
							 Your browser does not support the video tag.
	  </video>
   </div>
 


  <style >
  .bigView {
    background:rgba(0,0,0,0.5)
  }
  

  
  
  </style>
 
   <script type="text/javascript">
   function showBigImg(tar){ 
	   var urls=[];  
	   // var items=tar.siblings();
	    var items=tar.parent().find(".mor_pic_item");
	     // var picpath=tar.find("img").attr("data-original");
    	// urls.push(CONETXT_PATH+"/equip/picsrc/"+picpath+"?isBig=1"); 
    	 
	      $.each(items,function(){ 
	    	  var picpath=$(this).find("img").attr("data-original").replace("_small","").replace(new RegExp("/",'gm'),"-");
	    	   urls.push("http://ln200.dongdiangufen.com/qyweix/equip/picsrc/"+picpath+"?isBig=1");  
	    	//  var picpath=$(this).find("img").attr("src").replace("_small","");
	     	//  urls.push(picpath);  
	       });
  
  	      wx.previewImage({
		    current:urls[tar.index()], // 'http://img5.douban.com/view/photo/photo/public/p1353993776.jpg',
		    urls: urls
		  });  
   }
   
   
	 function showBigImg1(tar){
	     $("#pushimg").show();
		 $("#SVideoView").hide();
		  var urls=[];
		  
	   // var items=tar.siblings();
	    var items=tar.parent().find(".mor_pic_item");
	  //   var picpath=tar.find("img").attr("data-original");
    	// urls.push(CONETXT_PATH+"/equip/picsrc/"+picpath+"?isBig=1"); 
    	 
	      $.each(items,function(){
	    	  var picpath=$(this).find("img").attr("data-original");
	    	  urls.push(CONETXT_PATH+"/equip/picsrc/"+picpath+"?isBig=1");  
	      });
	      
	     var imgview= ImageView(tar.index(), urls);
	      //切换到下一页
		  swiper.slideTo(3, 500, false);
		  swiper.lockSwipes();
		  $("#slideView").show();
		  $(".slide-view").show();
	 }
	
	 
	 function showVideo(tar){
		 $("#SVideoView").show();
		 $("#slideView").hide();
		 
		 //切换到下一页
		  swiper.slideTo(3, 500, false);
		  swiper.unlockSwipes();
		 
		 var videopath=tar.find(".showicon").attr("data-original");
		 $("#SVideoView").attr("src",CONETXT_PATH+"/equip/video/"+videopath);
		//  $("#SVideoView")[0].play();
	 }

	</script>
 

 
